<div class="form-group col-xs-12">
    <div class="row">
        <include file="template:label" label="[label]"/>
        <div class="col-xs-9">
            <div class="input-group col-xs-12">
                <input placeholder="[label]" id="[name]" name="[name]" value="{$[results]['[name]']}" class="form-control inline" type="text" onclick="laydate()" [attr]>
                <span class="input-group-btn ">
                  <button type="button" class="btn"><i class="fa fa-calendar"></i></button>
                </span>
            </div>
        </div>
    </div>
</div>